﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using LinQ_DTO;

namespace BUS
{
    public class PersonalizationPerUserBUS
    {
        public List<aspnet_PersonalizationPerUser> LayTatCa_PersonalizationPerUser()
        {
            PersonalizationPerUserDAO pDA0 = new PersonalizationPerUserDAO();
            return pDA0.LayTatCa_PersonalizationPerUser();
        }

        public List<aspnet_PersonalizationPerUser> LayTatCa_PersonalizationPerUserTheoID(Guid ID)
        {
            PersonalizationPerUserDAO pDA0 = new PersonalizationPerUserDAO();
            return pDA0.LayTatCa_PersonalizationPerUserTheoID(ID);
        }

        public void XoaPersonalizationPerUserTheoID(Guid ID)
        {
            PersonalizationPerUserDAO pDA0 = new PersonalizationPerUserDAO();
            pDA0.XoaPersonalizationPerUserTheoID(ID);
        }

        public void ThemPersonalizationPerUser(aspnet_PersonalizationPerUser Personal)
        {
            PersonalizationPerUserDAO pDA0 = new PersonalizationPerUserDAO();
            pDA0.ThemPersonalizationPerUser(Personal);
        }

        public void CapNhatPersonalizationPerUserTheoID(Guid ID, DateTime LastUpdate)
        {
            PersonalizationPerUserDAO pDA0 = new PersonalizationPerUserDAO();
            pDA0.CapNhatPersonalizationPerUserTheoID(ID, LastUpdate);
        }
    }
}
